GBML manual / Constants

ROOM_LAYER_BACK

The Back tile layer of the room: tiles painted behind the Main layer. A room without one does nothing for it.

Game Boy: not available

Game Boy Color: not available

Sega Genesis: not built yet

On other consoles this differs: see Side by side and How the consoles differ.

Syntax

ROOM_LAYER_BACK: constant

Description

Names the room's Back tile layer, the one painted behind the Main layer (Room Editor, Tile layers). A room that has no Back layer does nothing for it.

Example

tile_set_index(64, 32, 5, ROOM_LAYER_BACK);

Changes the picture of one cell of the Back layer to tile 5, and leaves the Main layer's tile, and what it blocks, alone.

See also: ROOM_LAYER_MAINROOM_LAYER_FRONTroom_layer_scroll_speedroom_layer_visibletile_indextile_set_index